package controller;

import controller.states.initial.InitialGameState;

public class GameController implements IState {
	
	private IState state;
	
	public GameController() {
		this.setState(new InitialGameState(this));
	}

	@Override
	public void handleAction(IPlayerAction playerAction) {
		this.state.handleAction(playerAction);
	}
	
	protected void setState(IState state) {
		this.state = state;
	}

}
